package com.gitee.melin.bee.core.jdbc.relational;

public enum BeeTableType {
    TABLE("Table", "表"),

    EXTERNAL_TABLE("EXTERNAL Table", "外表"),

    VIEW("View", "视图"),

    MATERIALIZED_VIEW("Materialized View", "物化视图"),

    UNKNOW("Unknow", "未知");

    private String name;

    private String cnName;

    private BeeTableType(String name, String cnName) {
        this.name = name;
        this.cnName = cnName;
    }

    public String getName() {
        return name;
    }

    public String getCnName() {
        return cnName;
    }

    @Override
    public String toString() {
        return name;
    }
}
